package cn.waqwb.bwcar.service;

import cn.waqwb.bwcar.dto.DataGridResult;
import cn.waqwb.bwcar.dto.QueryDTO;
import cn.waqwb.bwcar.pojo.Tag;
import cn.waqwb.bwcar.utils.R;

/**
 * @author JokerQ
 * @date 2019/11/15 - 15:08
 */
public interface TagService {
    public int addTag(Tag tag);

    public void delTag(Integer id);

    public int updateTag(Tag tag);

    /**
     * @param id
     * @return
     */
    public Tag findById(Integer id);

    public DataGridResult findByPage(QueryDTO queryDTO);

   public R findLineData();

     public R findBarData();

    public R findPieData();
}
